Ext.define('hrm.view.Human', {
    extend: 'Process',
    xtype: 'human',
    requires: [
            'hrm.view.LiuyanForm'
        ],
    initialize: function () {
        this.callParent();
        this.down('toolbar').add([
            { xtype: 'spacer' },
            {
                text: '留言',
                scope: this,
                handler: function () {
                    var sessionCard = new hrm.view.LiuyanForm({
                    });
                    sessionCard.setProcessid(this.processid);
                    sessionCard.setPrevcard(this);
                    this.getParent().setActiveItem(sessionCard, 'slide');
                }
            }
        ])
    }
});